Is it possible to do data binding on the fields of an object just like in WPF?
Something like this:
<TextBlock Text="{Binding ElementName=lbColor}" />
just for an asp:TextBox element. What I want is that on submit to have the new values inside the binded object and I don't want to manually read and set the values.
Sumit Kesarwani
27-Aug-2014if you are binding in a template you can use:
<asp:textbox Text="<%#Bind("lbColor")%>" runat="server" />